home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part1 / 396 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.7 KB

  1. Path: swidir.switch.ch!epflnews!news
  2. From: Daniel Kobler <kobler@dma.epfl.ch>
  3. Newsgroups: comp.lang.c++
  4. Subject: Q about DLL's with Borland C++ 4.0
  5. Date: Thu, 04 Jan 1996 11:29:48 +0100
  6. Organization: Ecole Polytechnique Federale de Lausanne
  7. Message-ID: <30EBAC1C.41C6@dma.epfl.ch>
  8. NNTP-Posting-Host: masg9.epfl.ch
  9. Mime-Version: 1.0
  10. Content-Type: text/plain; charset=us-ascii
  11. Content-Transfer-Encoding: 7bit
  12. X-Mailer: Mozilla 2.0b4 (X11; I; IRIX 5.3 IP20)
  13.  
  14. Hello !
  15.  
  16. My problem is the following: I have functions in 4 files (*.c because they
  17. are written in C, but this not important), with a header file for each of
  18. these files (*.h, contains the headers of the functions in the corresponding
  19. *.c), and a fifth header file that contains the #define, typedef, ....
  20. One of these functions, called production, needs to be called by a macro of
  21. Excel. Therefore I made a DLL of these files, with the line
  22.              void _export production(...);
  23. in file1.h (if the function is in file1.c).
  24. The macro of Excel recognizes the DLL, but says the function production does
  25. not exist in that DLL. What did I do wrong? Have I forgotten a key-word? Or
  26. is this "void _export production(...);" misplaced?
  27.  
  28.         Thank you in advance for any help,
  29.  
  30.             Daniel
  31.  
  32. -- 
  33. ---------------------------------------------------------------------------         
  34.         (__)       Daniel Kobler
  35.         (-o)       EPFL, DMA-ROSE
  36.   /------\/     CH-1015 Lausanne            Mathematics Departement
  37.  /|     ||         Switzerland      Swiss Federal Institute of Technology
  38. * ||----||         021/693.25.66
  39.                                     
  40.          E-mail: kobler@dma.epfl.ch
  41.  URL: http://dmawww.epfl.ch/rose.mosaic/kobler.dir/home.html
  42. ---------------------------------------------------------------------------
  43.